﻿<?xml version="1.0" encoding="utf-8"?>
<hibernate-configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <property
      name="hbm2ddl.auto">create</property>
    <property
			name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
    <property
			name="connection.driver_class">NHibernate.Driver.Sql2008ClientDriver</property>
    <property
			name="connection.connection_string_name">LOCAL_DB</property>
    <property
			name="show_sql">false</property>
    <property
			name="dialect">NHibernate.Dialect.MsSql2012Dialect</property>
    <property
			name="connection.isolation">ReadCommitted</property>
    <property
			name="adonet.batch_size">100</property>
    <property
      name="cache.use_query_cache">true</property>
    <property
      name="cache.provider_class">NHibernate.Cache.HashtableCacheProvider</property>
    <property
			name="default_schema">dbo</property>
    <property
      name="max_fetch_depth">2</property>
    <mapping
			assembly="ECO.Sample.Infrastructure.DAL.NHibernate" />
  </session-factory>
</hibernate-configuration>